package cn.dhnep.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dhn
 * @since 2021-09-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_package_order_item")
@ApiModel(value="PackageOrderItem对象", description="")
public class PackageOrderItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "打包项的id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "旧订单详细ID")
    private String oldIds;

    @ApiModelProperty(value = "打包订单的id")
    private Integer orderId;

    @ApiModelProperty(value = "打包项产品的类型")
    private String productType;

    @ApiModelProperty(value = "打包产品类型的图标")
    private String productIcon;

    @ApiModelProperty(value = "单价")
    private Double unitPrice;

    @ApiModelProperty(value = "数量")
    private Integer amount;

    @ApiModelProperty(value = "回收站称重时间")
    private Date weighTime;

    @ApiModelProperty(value = "回收站称重重量")
    private Double recycleWeigh;

    @ApiModelProperty(value = "该类型的产品的总重量")
    private Double finallyWeigh;

    @ApiModelProperty(value = "骑手收价")
    private Double sumHorseman;

    @ApiModelProperty(value = "回收站收价")
    private Double sumRecycle;

    @ApiModelProperty(value = "计量单位")
    private String measure;

    @ApiModelProperty(value = "说明")
    private String packageItemExplain;

    @ApiModelProperty(value = "订单生成图片")
    private String image;


}
